package com.liuxin.zhiyuan.shujuzhongxin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liuxin.common.utils.PageUtils;
import com.liuxin.zhiyuan.shujuzhongxin.domain.dto.RecruitMajorDTO;
import com.liuxin.zhiyuan.shujuzhongxin.domain.po.RecruitMajorInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 招生专业信息表（存储院校、专业、选科、招生计划等信息）
 *
 * @author zsl
 * @email 1301966496@qq.com
 * @date 2025-11-21 21:46:30
 */
public interface RecruitMajorInfoService extends IService<RecruitMajorInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 获取未处理的招生专业信息
     */
    List<RecruitMajorInfoEntity> getUnprocessedRecords();

    /**
     * 批量更新预测排名和分数
     */
    int batchUpdatePrediction(List<RecruitMajorInfoEntity> records);
     /**
      * 查询招生专业信息列表
      */
    List<RecruitMajorDTO> queryRecruitMajorList(
            Integer schoolId,
            String nature,
            String schoolCode);
}